<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="x-ua-compatible" content="ie=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
    <title><?php echo $title; ?></title>
    <link href='http://fonts.googleapis.com/css?family=Ubuntu:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/master.css" />
    <noscript>
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/mobile.min.css" />
    </noscript>
    <script>
    // Edit to suit your needs.
    var ADAPT_CONFIG = {
      // Where is your CSS?
      path: '<?php echo base_url();?>assets/css/',

      // false = Only run once, when page first loads.
      // true = Change on window resize and page tilt.
      dynamic: true,

      // First range entry is the minimum.
      // Last range entry is the maximum.
      // Separate ranges by "to" keyword.
      range: [
        '0px    to 760px  = mobile.min.css',
        '760px  to 980px  = 720.min.css',
        '980px  to 1280px = 960.min.css',
        '1280px to 1600px = 1200.min.css',
        '1600px to 1940px = 1560.min.css',
        '1940px to 2540px = 1920.min.css',
        '2540px           = 2520.min.css'
      ]
    };
    </script>
    <script src="<?php echo base_url();?>assets/js/adapt.min.js"></script>
  <link rel="stylesheet" href="<?php echo base_url();?>assets/css/skin/css3-buttons-grey.css" type="text/css"  media="screen" />
  <link rel="stylesheet" href="<?php echo base_url();?>assets/css/css3-buttons.css" type="text/css"  media="screen" />
   
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
  <link type="text/css" href="<?php echo base_url();?>assets/css/custom-theme/jquery-ui-1.8.20.custom.css" rel="stylesheet" />
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
</head>
  <body>
    <div class='container_12'>
      <div id='content' class='grid_12 alpha omega'>
        <?php
          if($this->ion_auth->is_admin())
          {
            echo anchor('admin', 'Beheer');
          }
        ?>  


            <?php
          if ($this->ion_auth->logged_in())
          { 
           ?>
           <div id='userfunctions'>
           <?php
            echo anchor('account/logout','Log Out');
          ?>
          <a href="#" id="helplink">Help</a>
          </div>

          <div class='clear'></div>
          <?php } ?>
      <!-- start specific view -->
      <?php $this->load->view($view); ?>
      <!-- end specific view -->
      </div>

    </div>
  <div id="dialog" title="<?php echo lang('confirmation_required');?>">
    <?php echo lang('are_you_sure');?>
  </div>
     
  <script type="text/javascript" src="<?php echo base_url(); ?>assets/js/functions.js"></script>
  </body>
</html>    
